package com.joe.springboot.po.request;

import com.joe.springboot.dmo.User;

public class ReqDTO {

    private String uuid;

    private User user;


    public String getUuid() {
        return this.uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public User getUser() {
        return this.user;
    }

    public void setUser(User user) {
        this.user = user;
    }


    public static final class ReqDTOBuilder {
        private String uuid;
        private User user;

        private ReqDTOBuilder() {
        }

        public static ReqDTOBuilder aReqDTO() {
            return new ReqDTOBuilder();
        }

        public ReqDTOBuilder uuid(String uuid) {
            this.uuid = uuid;
            return this;
        }

        public ReqDTOBuilder user(User user) {
            this.user = user;
            return this;
        }

        public ReqDTO build() {
            ReqDTO reqDTO = new ReqDTO();
            reqDTO.setUuid(uuid);
            reqDTO.setUser(user);
            return reqDTO;
        }
    }
}
